package xcmg.device.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.InventoryCheckDetailDO;
import xcmg.device.service.vo.warehouse.InventoryCheckDetailVO;

import java.util.List;
@Mapper
public interface InventoryCheckDetailMapper {
    int deleteByPrimaryKey(String id);

    int insert(InventoryCheckDetailDO record);

    int insertSelective(InventoryCheckDetailDO record);

    List<InventoryCheckDetailDO> list(String id);

    List<InventoryCheckDetailDO> itemList(InventoryCheckDetailVO model);

    Integer itemCount(InventoryCheckDetailVO model);

    InventoryCheckDetailDO itemByBarCode(@Param("barCode") String barCode,@Param("checkOrderNo")String checkOrderNo);

    int inventoryCheck(InventoryCheckDetailVO model);

    int enforce(InventoryCheckDetailVO model);
    int remove(@Param("checkId")String checkId);

    int updateByPrimaryKeySelective(InventoryCheckDetailDO record);

    int updateByPrimaryKey(InventoryCheckDetailDO record);
}